<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			*{
				margin: 0;
				padding: 0;
			}
			ul{
				width:999px;
				height:30px;
				/*background: blue;*/
				margin: 5px auto;
			}
			ul li{
				list-style: none;
				height: 30px;				
				width:20%;
				float:left;
				background: greenyellow;
				text-align: center;
				border-right: 1px gray solid;
				/*实际宽高＝所设定的数值(已包含border和padding)*/				
				box-sizing:border-box ;
			}
			ul li a{
				text-decoration: none;
				font-size: 20px;
				line-height: 30px;
			}
		</style>
	</head>
	<body>
		<ul>
			<li><a href="#">首页</a></li>
			<li><a href="#">公司消息</a></li>
			<li><a href="#">商品资讯</a></li>
			<li><a href="#">联络我们</a></li>
			<li style="border-right: none ;"><a href="#">Our News</a></li>
		</ul>
	</body>
</html>

